package com.wx.sys.dao;

import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Component;

import com.wx.annotation.MyBatisDao;
import com.wx.sys.entity.Wx_sys_persion;
/**
 * 菜单功能表 DAO
 */
@MyBatisDao
@Component("Wx_sys_persion_DAO")
public interface Wx_sys_persion_DAO{
	/**
	 * 获取分页数据
	 */
	public List<Wx_sys_persion> selectPage(Map<String,Object> map) throws Exception;
	/**
	 * 获取分页数据数量
	 */
	public Integer selectPageCount(Map<String,Object> map) throws Exception;
	/**
	 * 获取一条信息
	 */
	public Wx_sys_persion getById(Long id) throws Exception;
	/**
	 * 修改一条信息
	 */
	public Integer update(Wx_sys_persion Wx_sys_persion) throws Exception;
	/**
	 * 新增一条信息
	 */
	public Integer add(Wx_sys_persion Wx_sys_persion)throws Exception;
	/**
	 * 删除信息
	 */
	public Integer deleteData(Map<String,Object> map) throws Exception;
	/**
	 * 获取所有数据
	 */
	public List<Wx_sys_persion> selectAll(Map<String,Object> map) throws Exception;
}